package com.niiwoo.civet.trade.dto.response;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by dell on 2017/12/7.
 * Description：civet-parent
 */
@Setter
@Getter
public class SpeedLoanRecordStatisticsDTO implements Serializable{

	private static final long serialVersionUID = 6790672806863380960L;

	// 成功借款记录数
	private Integer successProjectNum;

	// 已结清记录数
	private Integer settlementNum;

	// 已结清总金额
	private BigDecimal settlementAmount;

	// 正常还款中的记录数
	private Integer inRepaymentNum;

	// 正常还款中的总金额
	private BigDecimal inRepaymentAmount;

	// 逾期还款中的记录数
	private Integer inOverdueNum;

	// 逾期还款中的总金额
	private BigDecimal inOverdueAmount;

	// 累计借款金额
	private BigDecimal totalLoanAmount;

	// 累计逾期笔数
	private Integer totalOverDueNum;

	// 初始化
	public SpeedLoanRecordStatisticsDTO() {
		this.successProjectNum = 0;
		this.settlementNum = 0;
		this.settlementAmount = BigDecimal.ZERO;
		this.inRepaymentNum = 0;
		this.inRepaymentAmount = BigDecimal.ZERO;
		this.inOverdueNum = 0;
		this.inOverdueAmount = BigDecimal.ZERO;
		this.totalLoanAmount = BigDecimal.ZERO;
	}
}
